from django.contrib import admin

# Register your models here.


class VideoConfig(admin.ModelAdmin):
    list_display=('nid','title','desc','Video_link','cover','looks','videoCategory')
class VideoCgConfig(admin.ModelAdmin):
    list_display=('nid','name')


# 注册表到admin
from app01 import models
# Register your models here.
admin.site.register(models.Video,VideoConfig)
admin.site.register(models.VideoCg,VideoCgConfig)
